﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <script src="@Url.Content("~/Scripts/jquery-1.7.2.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.21.custom.js")" type="text/javascript"></script>
    <link href="@Url.Content("~/Content/themes/base/jquery-ui-1.8.21.custom.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/ui.datepicker-zh-CN.js")" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/ajaxlib.js")" type="text/javascript"></script>

    <link href="@Url.Content("~/Content/css/Jquery4Asp.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/css/Layout.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/css/Control.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/css/PageStyleHeader.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/css/PageStyle.css")" rel="stylesheet" type="text/css" />
 
    @RenderSection("head", required: false)
    @RenderSection("js", required: false)
    <script type="text/javascript">
        $(function () {
            $("div#Header ul#menu>li").each(function () {
                var page = $(this).attr("id");
                if ($("div#" + page).length > 0) {
                    $(this).find("a").addClass("active");
                }
            });

            handleAjaxError();
        });

    </script>
</head>
<body>
    <div class="pageBorderDiv pBoxDiv">
        <div class="pageDiv pBoxDiv">
            @Html.Partial("_HeaderPartial")
            <div class="hBarDiv"></div>
            <div id="NotFoundInfoDialog" style="display:none">
              @{ Html.RenderPartial("~/Default/Views/Shared/Error/NotFoundInfo.cshtml"); }
            </div>
            <div id="InternalServerErrorDialog" style="display:none">
              @{ Html.RenderPartial("~/Default/Views/Shared/Error/InternalServerErrorInfo.cshtml"); }
            </div>
            <div class="bodyContentDiv pBoxDiv">
                @RenderBody()
            </div>
        </div>
    </div>
</body>
</html>
